home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINPROGS / SPMATE12.ZIP / SPELL.H$ / spell.h
C/C++ Source or Header  |  1993-07-13  |  699b  |  26 lines

  1. // spell.h
  2.  
  3. // Functions to spellcheck a string and ObjectWindows TEdit using
  4. // the Spelmate DLL.
  5. // NOTE: this code is C++ but very few alterations are required to convert
  6. // algorithms to C.
  7.  
  8. // (c) 1993, Stewart McSporran for Aciran Software Systems
  9.  
  10. #ifndef __SPELL_H
  11. #define __SPELL_H
  12.  
  13. #include <edit.h>
  14.  
  15. // max length of word for the spell checker
  16. const int MaxWordLen = 20;
  17.  
  18. // Spell checks a TEdit.  Highlights any misspelt words before asking for
  19. // a replacement when an error encountered.
  20. void  Spell(PTEdit pEdit);
  21.  
  22. // Spellchecks a string.  Does not highlight anything simply asks for new
  23. // word when an error encountered.
  24. void  Spell(LPSTR lpString);
  25.  
  26. #endif